cmake_minimum_required(VERSION 3.0.0)
project(template VERSION 0.1.0 LANGUAGES C CXX)

include(CTest)
enable_testing()

include_directories(./Includes
                    ./Sources
                    ./lib_iqueue)
                    
aux_source_directory(./Includes INC_LIST)
aux_source_directory(./Sources SRC_LIST)
aux_source_directory(./lib_iqueue QUEUE_LIST)

add_library(${PROJECT_NAME} SHARED 
                                    ${INC_LIST} 
                                    ${SRC_LIST}
                                    ${QUEUE_LIST} 
                                    ./Sources/capldll.def)

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
